<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/DMN/20151101/dmn.xsd"
             id="definitions"
             name="camunda"
             namespace="http://camunda.org/schema/1.0/dmn">
             
  <decision id="testDecision" name="decision">
    <decisionTable id="table" hitPolicy="RULE ORDER">
      <input id="input">
        <inputExpression id="inputExpression">
          <text>input</text>
        </inputExpression>
      </input>
      <output id="result1" name="result1" typeRef="string" />
      <output id="result2" name="result2" typeRef="string" />
      <rule id="ruleEmptyResult">
        <inputEntry>
          <text>"empty output"</text>
        </inputEntry>
        <outputEntry/>
        <outputEntry/>
      </rule>
      <rule id="ruleEmptyMap1">
        <inputEntry>
          <text>"empty map"</text>
        </inputEntry>
        <outputEntry/>
        <outputEntry/>
      </rule>
      <rule id="ruleEmptyMap2">
        <inputEntry>
          <text>"empty map"</text>
        </inputEntry>
        <outputEntry/>
        <outputEntry/>
      </rule>
      <rule id="ruleSingleEntry">
        <inputEntry>
          <text>"single entry"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry/>
      </rule>
      <rule id="ruleMultipleEntries">
        <inputEntry>
          <text>"multiple entries"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry>
          <text>"bar"</text>
        </outputEntry>
      </rule>
      <rule id="ruleSingleEntryList1">
        <inputEntry>
          <text>"single entry list"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry/>
      </rule>
      <rule id="ruleSingleEntryList2">
        <inputEntry>
          <text>"single entry list"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry/>
      </rule>
      <rule id="ruleMultipleEntriesList1">
        <inputEntry>
          <text>"multiple entries list"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry>
          <text>"bar"</text>
        </outputEntry>
      </rule>
      <rule id="ruleMultipleEntriesList2">
        <inputEntry>
          <text>"multiple entries list"</text>
        </inputEntry>
        <outputEntry>
          <text>"foo"</text>
        </outputEntry>
        <outputEntry>
          <text>"bar"</text>
        </outputEntry>
      </rule>
    </decisionTable>
  </decision>
</definitions>

